//
//  TSOrderTitleColleCell.m
//  biaoqianview
//
//  Created by LYH on 2018/8/7.
//  Copyright © 2018年 Toocms. All rights reserved.
//

#import "TSOrderTitleColleCell.h"

@implementation TSOrderTitleColleCell

-(instancetype)initWithFrame:(CGRect)frame{
    
    self = [super initWithFrame:frame];
    if (self) {
        
        self.backgroundColor = [UIColor whiteColor];
        [self createUI];
        
    }
    return self;
    
}
-(void)createUI{
    
//    _rightLineView = [[UIView alloc] init];
//    _rightLineView.frame = Rect(self.width - 1, 0, 1, self.height);
//    [self.contentView addSubview:_rightLineView];
//    _rightLineView.backgroundColor = HexColor(@"f5f5f5");
//
    _bottomLineView = [[UIView alloc] init];
    _bottomLineView.frame = Rect(self.width / 6, self.height - 2.1, self.width / 3 * 2 , 1.5);
    _bottomLineView.backgroundColor = ThemeColor;
    [self.contentView addSubview:_bottomLineView];
    
    _titleLabel = [[UILabel alloc] init];
    _titleLabel.frame = Rect(0, 0, self.width - 1, self.height - 1);
    [self.contentView addSubview:_titleLabel];
    _titleLabel.font = [UIFont systemFontOfSize:14];
    _titleLabel.textAlignment = NSTextAlignmentCenter;
    
}

@end
